@echo off
echo Creating installer...

mvn jpackage:jpackage
if %errorlevel% neq 0 (
    echo Installer creation failed!
    pause
    exit /b %errorlevel%
)

echo Installer created successfully!
echo Output: target/dist/
pause